//
//  SINATecManagerQuerScoreCourseItem2TableViewCell.m
//  sinashebao
//
//  Created by  androidlongs on 2018/1/8.
//  Copyright © 2018年  androidlongs. All rights reserved.
//

#import "SINATecManagerQuerScoreCourseItem2TableViewCell.h"

@interface SINATecManagerQuerScoreCourseItem2TableViewCell()
//科目名称
@property (weak, nonatomic) IBOutlet UILabel *subNameLabel;
//老师名称
@property (weak, nonatomic) IBOutlet UILabel *teachNameLabel;
//成绩
@property (weak, nonatomic) IBOutlet UILabel *scoreNumLabel;

@end
@implementation SINATecManagerQuerScoreCourseItem2TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


-(void)setModel:(SINATecCourseModel *)model{
    _model = model;
    
    self.subNameLabel.text = model.subjectname;
     self.teachNameLabel.text = model.teachername;
    self.scoreNumLabel.text =[NSString stringWithFormat:@"%@",model.score];
    
}
@end
